-
Home
-
Smush – Optimize Images | Compress and Lazy Load Images | Convert WebP
-
3.12.4
-
Code
-
Classes
- Ajax
Total Complexity |
217 |
Dependencies |
9 |
Dependents |
1 |
Total lines |
1,399 |
Lines of code |
759 |
Logical lines of code |
420 |
Comment lines |
417 |
Methods |
36 |
Properties |
1 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
scan_images() |
D |
17 |
73 |
201 |
process_smush_request() |
B |
38 |
19 |
64 |
smush_setup() |
A |
48 |
13 |
30 |
nextgen_should_resmush() |
A |
59 |
10 |
12 |
delete_resmush_list() |
S |
56 |
6 |
16 |
resmush_image() |
S |
53 |
5 |
25 |
apply_config() |
S |
54 |
5 |
21 |
smush_toggle_lazy_load() |
S |
54 |
5 |
20 |
upload_config() |
S |
57 |
5 |
16 |
remove_icon() |
S |
56 |
5 |
16 |
smush_manual() |
S |
53 |
4 |
25 |
webp_toggle() |
S |
57 |
4 |
16 |
hide_api_message() |
S |
60 |
4 |
12 |
ignore_bulk_image() |
S |
55 |
3 |
21 |
remove_from_skip_list() |
S |
55 |
3 |
21 |
toggle_cdn() |
S |
56 |
3 |
19 |
ignore_all_failed_items() |
S |
56 |
3 |
19 |
webp_apply_htaccess_rules() |
S |
63 |
4 |
10 |
ajax_ignore_all_failed_items() |
S |
60 |
3 |
15 |
webp_get_status() |
S |
63 |
4 |
10 |
webp_delete_all() |
S |
60 |
3 |
14 |
get_dir_smush_stats() |
S |
59 |
3 |
13 |
get_stats() |
S |
61 |
3 |
12 |
dismiss_notice() |
S |
62 |
3 |
11 |
__construct() |
S |
46 |
1 |
36 |
webp_toggle_wizard() |
S |
67 |
3 |
7 |
save_config() |
S |
64 |
3 |
9 |
show_warning_ajax() |
S |
66 |
2 |
8 |
skip_smush_setup() |
S |
66 |
2 |
8 |
dismiss_s3support_alert() |
S |
66 |
2 |
8 |
dismiss_update_info() |
S |
68 |
2 |
7 |
dismiss_upgrade_notice() |
S |
66 |
2 |
8 |
hide_tutorials() |
S |
66 |
2 |
8 |
recheck_api_status() |
S |
68 |
2 |
7 |
hide_new_features_modal() |
S |
66 |
2 |
8 |
set_notice_dismissed() |
S |
70 |
1 |
6 |